package cn.edu.ujs.coor.repository;

import cn.edu.ujs.coor.request.PageRequest;
import com.github.pagehelper.Page;
import org.apache.ibatis.session.RowBounds;

public interface BaseMapper<T> {

    /**
     * 分页查询
     * @param request
     * @param bounds
     * @return
     */
    Page<T> page(PageRequest request, RowBounds bounds);
}
